package com.gjzhao.fmmall.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

/**
 * @Description: WebSocketConfig 配置：添加 websocket 服务节点配置
 * @Author: gjzhao
 * @Date Created in 2022-01-18 12:43 上午
 */
//@Configuration todo 配置与单元测试类起冲突，暂时先注释掉
public class WebSocketConfig {


    @Bean
    public ServerEndpointExporter getServerEndpointExporter() {
        return new ServerEndpointExporter();
    }

}
